From: varkor Date: Thu, 19 Apr 2018 00:08:35 +0000 (+0100) Subject: Print "Checking" for cargo check X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~56^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=8dd1341fc9de460ecdeee72a60acc2cb5d8f7061;p=cargo.git Print "Checking" for cargo check --- diff --git a/src/cargo/core/compiler/job_queue.rs b/src/cargo/core/compiler/job_queue.rs index fb6cf95ad..9f33e9ca4 100644 --- a/src/cargo/core/compiler/job_queue.rs +++ b/src/cargo/core/compiler/job_queue.rs @@ -383,7 +383,11 @@ impl<'a> JobQueue<'a> { } } else { self.compiled.insert(key.pkg); - config.shell().status("Compiling", key.pkg)?; + if key.profile.check { + config.shell().status("Checking", key.pkg)?; + } else { + config.shell().status("Compiling", key.pkg)?; + } } } Fresh if self.counts[key.pkg] == 0 => {